package com.bella.springcloud.service;/**
 * @program: cloud2022
 * @description:
 * @packagename: com.bella.springcloud.service
 * @author: Bella白
 * @date: 2022-09-02 22:38
 **/

import org.springframework.stereotype.Component;

/**
 * @author: bella白
 * @Title: PaymentFallbackService
 * @ProjectName: cloud2022
 * @Description:
 * @date: 2022/9/2 22:38
 */
@Component
public class PaymentFallbackService  implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK ,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut ,o(╥﹏╥)o";
    }
}
